package com.ztesoft.web.common.db.po;

import java.math.*;
import java.util.*;
import org.apache.commons.lang.StringUtils;
import com.ztesoft.framework.dto.AbstractDto;
import com.ztesoft.framework.util.Utils;

public class DmSecondaryStagePO extends AbstractDto{
	private Integer  dmSecondaryInfoId;
	private Integer  dmTaskId;
	private Integer  dmStrategyId;
	private Integer  dmInfoId;
	private Integer  sourceDataId;
	private String  checkObjName;
	private Integer  stage;
	private String  state;
	private Date  stateDate;
	private Date  taskEndTime;
	private Date  taskStartTime;
	private Date  createDate;
	private Integer  resultCount;
	private Integer  totalCount;
	private BigDecimal  resultSize;
	private BigDecimal  totalSize;
	private Integer  nodeId;
    public Integer getDmSecondaryInfoId() {
        return dmSecondaryInfoId;
    }
    public void setDmSecondaryInfoId(Integer dmSecondaryInfoId) {
        this.dmSecondaryInfoId = dmSecondaryInfoId;
    }

    
    public Integer getDmTaskId() {
        return dmTaskId;
    }
    public void setDmTaskId(Integer dmTaskId) {
        this.dmTaskId = dmTaskId;
    }

    
    public Integer getDmStrategyId() {
        return dmStrategyId;
    }
    public void setDmStrategyId(Integer dmStrategyId) {
        this.dmStrategyId = dmStrategyId;
    }

    
    public Integer getDmInfoId() {
        return dmInfoId;
    }
    public void setDmInfoId(Integer dmInfoId) {
        this.dmInfoId = dmInfoId;
    }

    
    public Integer getSourceDataId() {
        return sourceDataId;
    }
    public void setSourceDataId(Integer sourceDataId) {
        this.sourceDataId = sourceDataId;
    }

    
    public String getCheckObjName() {
        return StringUtils.isBlank(checkObjName) ? checkObjName : checkObjName.trim();
    }
    public void setCheckObjName(String checkObjName) {
        this.checkObjName = checkObjName;
    }
    
    
    public Integer getStage() {
        return stage;
    }
    public void setStage(Integer stage) {
        this.stage = stage;
    }

    
    public String getState() {
        return StringUtils.isBlank(state) ? state : state.trim();
    }
    public void setState(String state) {
        this.state = state;
    }
    
    
    public Integer getResultCount() {
    	if(Utils.isEmpty(resultCount)){
    		return 0;
    	}else{
    		return resultCount;
    	}
    }
    public void setResultCount(Integer resultCount) {
        this.resultCount = resultCount;
    }

    
    public Integer getTotalCount() {
    	if(Utils.isEmpty(totalCount)){
    		return 0;
    	}else{
    		return totalCount;
    	}
    }
    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    
    public BigDecimal getResultSize() {
    	if(Utils.isEmpty(resultSize)){
    		return BigDecimal.ZERO;
    	}else{
    		return resultSize;
    	}
    }
    public void setResultSize(BigDecimal resultSize) {
        this.resultSize = resultSize;
    }

    
    public BigDecimal getTotalSize() {
    	if(Utils.isEmpty(totalSize)){
    		return BigDecimal.ZERO;
    	}else{
    		return totalSize;
    	}
    }
    public void setTotalSize(BigDecimal totalSize) {
        this.totalSize = totalSize;
    }

    
    public Integer getNodeId() {
        return nodeId;
    }
    public void setNodeId(Integer nodeId) {
        this.nodeId = nodeId;
    }
	public Date getStateDate() {
		return stateDate;
	}
	public void setStateDate(Date stateDate) {
		this.stateDate = stateDate;
	}
	public Date getTaskEndTime() {
		return taskEndTime;
	}
	public void setTaskEndTime(Date taskEndTime) {
		this.taskEndTime = taskEndTime;
	}
	public Date getTaskStartTime() {
		return taskStartTime;
	}
	public void setTaskStartTime(Date taskStartTime) {
		this.taskStartTime = taskStartTime;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

    
}